<template>
  <div>
    首页
    <!-- 子路由的链接 -->
    <ul>
      <li><router-link to="/movie/hot">热映</router-link></li>
      <li><router-link to="/movie/cinema">影院</router-link></li>
      <li><router-link to="/movie/wait">待映</router-link></li>
      <li><router-link to="/movie/classic">经典电影</router-link></li>
    </ul>
    <!-- 子路由的路由出口 -->
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "movie",
};
</script>

<style>
</style>


